import $axios from './index.js'

// 上传接口
function upload(data) {
  const url = '/attachment/uploadAndSave'
  console.log(data, 'upload')
  return $axios.updata(url, data)
}

export default {
  upload
}
